home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Xenosoft 2
/
Xenosoft 2 (Game collection)(1994).iso
/
bioforge
/
script
/
chaos.scp
< prev
next >
Wrap
Text File
|
1994-12-08
|
4KB
|
207 lines
// ***CHAOS LEVEL***
// MONITOR SCRIPTS ARE IN CHAOSMON.SCR
// GUARD ROOM SCRIPTS ARE IN CHAOSGRD.SCR
// CELL BLOCK SCRIPTS ARE IN CHAOSBLK.SCR
// CRYO ROOM SCRIPTS ARE IN CHAOSCRY.SCR
// HALLWAY AND ELEVATOR SCRIPTS ARE IN CHAOSHAL.SCR
{ CHAOS_LOAD
^à╝ = $é┐
// IF THE ALIEN CITY HAS BEEN SEEN AND
// HALMECHO IS STILL ALIVE KILL IT. -BKA-
I ^çô AND ^å╜ THEN
{
I @Ç¢ HALMECHO THEN
{
K
^å╜ = $Ç╗
}
E
Q "Can't find HalMecho!" // DON'T TRANSLATE!
}
// IF LEX IS WEARING THE REFLECT SUIT MAKE SURE THE BATTERY CONTINUES
// TO BE DRAINED. -BKA-
@Ç¢ PLAYER
I ( @Ç⌐ (LEXMIR) ) THEN
{
^ä╝ = @Çì REFLECTBATTDRAIN
}
// RESTART BIOREPAIR IF IT IS STILL ACTIVE
I ^ïâ = 1 THEN
^Ä₧ = @Çì BIOREPAIR
// RESET TONFA GUN -BKA
^ïÆ = 0
^ïò = 0
// START UP ALL THE CONSTANTLY RUNNING BACKGROUND PROCESSES
// THE PROCESSES THEMSELVES ARE RESPONSIBLE FOR TURNING ON/OFF THEIR
// ART AND FOR DEFINING THE CAMERAS THAT THEY CAN BE SEEN FROM
@Ç¥ SETCELLONEBARS ^à«
@Çì CELLTWOBARS
@Ç¥ SETCELLTHREEBARS ^à░
@Ç¥ SETCELLFOURBARS ^à▒
@Çì CELL3_MON
@Çì FLICKER_LIGHT
@Çì BLOCK_DRIP
@Çì ANIMGUARD
@Çì ANIMCRYO
@Çì LEVEL1TREMORS
@Çì ESCHERS_PLEES_FOR_HELP
// IF THE CRYO FLUID WAS LEFT ON, THEN RESTART ITS ANIMATION
I ^àû = 1 THEN
^Çâ = @Çì POUR_LOOP
// THIS 'IF' DECIDES WHICH OF THE CELL 2 CAMERAS SHOULD WORK
I ^è╖ == 0 THEN
{
ƒ CE21 ON
ƒ CE22 ON
ƒ CE23 OFF
ƒ CE24 OFF
}
E
{
ƒ CE21 OFF
ƒ CE22 OFF
ƒ CE23 ON
ƒ CE24 ON
}
// TURN ON CAMERAS IN CHAOS HALLWAY TO SHOW HALMECHO
I (@Ç¢ (HALMECHO)) THEN
{
Y HAL1, HAL2, HAL3, HAL4, HAL5, HAL6, ELH1, ELH2
}
//DON'T TRANSLATE
E
I ^å╜ = 1 THEN
Q ("Can't find HalMecho")
@Çì READY_CAYNAN // SET-UP CAYNAN
@Çì READY_GUARD1 // SET-UP GUARD1
// MAKE SURE USE_BOT BEGINS IN DEACTIVATED POSITION/STATE IF !ACTIVATED
// IF THE USEBOT IS IN AUTOMATIC MODE
I @Ç¢ (USE_BOT) THEN
{
A OFF
r CURFIG OFF
Z CURFIG OFF
u CURFIG ON
è ON
ï PLAYER
// IS NECESSARY? SETAI NURSEBOT -KLD
I ^åí != 4 THEN
G UBOTLOC
// NOW MAKE THIS NURSEBOT FLOAT NO HIGHER THAN THE
// WAYPOINT 'USEALTI' JUST IN CASE YOU LAND HIM ON A DESK
// OR SOMETHING. -KLD
ª USEALTI MAXIMUM
// IF THE USEBOT IS IN AUTOMATIC MODE
I ^è╗ = 0 THEN
{
£ 0
q DEACTIVATED 0
o
}
¥ AVDBAR1 110
¥ AVDBAR2 110
¥ AVDBAR3 110
¥ AVDBAR4 110
¥ WAY_PT2 180
¥ GETMEAT 80
}
E Q "Can't find Use_BOT!" //DON'T TRANSLATE
}
{ ENTERCELL2
// FIX THE CAMERA FOR THE DURATION OF THE BATTLE
@Ç¢ (PLAYER)
// AI IS ALREADY OFF
Z CURFIG OFF
u CURFIG OFF
I ^è╖ == 0 THEN
C CE22
E
C CE24
£ TANKCMB
â
M MANTLE_9
M STAND CONTINUE
u CURFIG ON
G CELL2WAY WALK
// DON'T TURN GRAVITY ON TILL NOW SO WE DON'T FALL THROUGH! -BES
Z CURFIG ON
I ( ^ï│ = $Ç╝ ) THEN
@Çì ACTIVATE_GUARD1
E
{
A ON
C UNLOCK
}
}
{ FM_TNKS
@Ç¢ PLAYER
A OFF
Z CURFIG OFF
// SUSPENDWHILE @FADE(DOWN)
@Çì CELL2TOTANK
}
{ LEGALTODROPHERE
P ~ÇÇ
~ÇÇ = 1
I ( @Çí ( CURFIG NASTY1 ) ) THEN
~ÇÇ = 0
I ( @Çí ( CURFIG NASTY2 ) ) THEN
~ÇÇ = 0
é ~ÇÇ
}
{ LEX_PUT_DOWN_LTHAND
I ( @Ç¥ LEGALTODROPHERE ) THEN
M PUT_DOWN_LTHAND
}
{ LEX_PUT_DOWN_RTHAND
I ( @Ç¥ LEGALTODROPHERE ) THEN
M PUT_DOWN_RTHAND
}
//$ 26 - version number